package com.example.boot.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin implements Serializable {
        private int id;
        @NotBlank(message = "客服姓名不能为空")
        private String adminName;
        @NotBlank(message = "客服密码不能为空")
        private String password;
        private String role;
}
